using System.Collections.Generic;
using Beaker.FileSystem;

namespace OpenCube.IO.Overload
{
	/// <summary>
	/// Factory for creating fallback file systems
	/// </summary>
	public interface IOverloadingFileSystemFactory
	{
		/// <summary>
		/// Create a fallback file system based on the list of folders
		/// </summary>
		/// <param name="folders">The list of folders to combine into a fallback file system.</param>
		/// <returns>A fallback file sytem that combines the given folders.</returns>
		IFileSystem Create(IEnumerable<IFolder> folders);
	}
}